package com.study.es.Item.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 分页对象
 *
 * @author xiaoqiang
 * @version 1.0
 * @date 2020/8/5 16:43
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BasePage<T> implements Serializable {

    private static final long serialVersionUID = 1L;

//    @ApiModelProperty(value = "当前页")
    private Integer current = 1;

//    @ApiModelProperty(value = "页面大小")
    private Integer size = 10;

//    @ApiModelProperty(value = "总条数")
    private Long total = 1L;

//    @ApiModelProperty(value = "数据")
    private List<T> data;




}
